
package com.market.web.action;

import com.market.bean.Msgboard;

public class AdminMsgBDelAction extends BaseAction2
{

    public String execute() throws Exception
    {
        int id = (int)getLong("id");
        Msgboard msgb = getMsgBoardService().findById(id);
        if (msgb != null)
        {
            getMessageService().delete(msgb);
        }
        return SUCCESS;
        //return new ActionForward("/adminMsgBSearch.do");
    }
}
